package com.sun.bootstrap;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;


@EnableWebMvc
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.sun.boostrap.feign")
@Slf4j
@SpringBootApplication(scanBasePackages = {"com.sun"})
@MapperScan(basePackages = "com.sun.*.mapper")
public class BootStrapApplication {

    public static void main(String[] args) {
        SpringApplication.run(BootStrapApplication.class, args);
        log.info(">>>>>>>>>>>>>>>>>>>>>程序启动[success]>>>>>>>>>>>>>>>>>>>>>");
    }
}
